Skip to content

Instantly share code, notes, and snippets.

name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections:

@UsernamesAreForChumps
UsernamesAreForChumps / comet-kvm-ssl.md
Created December 14, 2025 04:03
GL.iNet ZeroSSL certificates Comet KVM Pro

GL.iNet ZeroSSL certificates for Comet KVM Pro for local access only. This can also provide proper SSL certificates for internet access, but strongly discouraged unless you are fully aware of all the risks.

Basic information

  • Certificates are stored in the /etc/kvmd/user/ssl directory
  • Uses acme.sh scripts to obtain the SSL certificates from ZeroSSL

Preliminary setup with Cloudflare API keys

At a minimum, a token used by acme.sh requires:

  • the "Zone > DNS > Edit" permission;
  • permission for the specific zones/domains within which you need to perform ACME DNS challenges;

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@kevinrawal
kevinrawal / create-agent.sh
Created August 3, 2026 06:58
Script for creating agents which can plug anywhere
#!/usr/bin/env bash
# create-agent.sh — scaffold a portable, embeddable LangGraph agent codebase.
# Fully generic: no domain-specific nodes, works for ANY agent you build.
#
# Usage:
# ./create-agent.sh my_agent
#
# After scaffolding, it installs deps and RUNS the agent immediately so
# you get proof-of-life output, not just a pile of files.
@jackyho522
jackyho522 / rsyslog-server.md
Created August 3, 2026 06:54 — forked from jorritfolmer/rsyslog-server.md
Syslog server for Splunk

Generic syslog building block

The rsyslog config below realises a reusable building block to onboard syslog data, for example into Splunk. It assumes an on-prem enterprise environment and uses the file system as a buffer/queue to decouple syslog senders from a receiver like Splunk Universal Forwarder (UF). This way you can restart Splunk UF without any data loss.

The following four configuration files ensure:

  • Reception of syslog into one log file for every source IP address.
  • Fitness for a high volume syslog setup by having rsyslog NOT throttle
  • Least privilege for Splunk UF by having rsyslog create files with appropriate umask and group
  • Retention of all log files for 1 day to prevent availability issues from "disk full" scenarios
@ongkiii
ongkiii / IPA-Sources.md
Last active August 3, 2026 06:52
REPOS/TELEGRAM CHANNELS LIST BY u/angkitbharadwaj
@mondain
mondain / public-stun-list.txt
Last active August 3, 2026 06:52
Public STUN server list
23.21.150.121:3478
iphone-stun.strato-iphone.de:3478
numb.viagenie.ca:3478
s1.taraba.net:3478
s2.taraba.net:3478
stun.12connect.com:3478
stun.12voip.com:3478
stun.1und1.de:3478
stun.2talk.co.nz:3478
stun.2talk.com:3478
@xdenb43
xdenb43 / MikroTik AdGuard Home container installation.md
Last active August 3, 2026 06:47 — forked from kangarie/mikrotik_container_adguardhome.txt
MikroTik AdGuard Home container installation

--> adguard home to container | by @xdenb43
--> tested on hap ax3/ROS 7.17.2+

Important

defconf network 192.168.88.1/24
docker network 192.168.254.1/24

Install AdGuard Home (AGH) to MikroTik using container

Prerequisites

@zensh
zensh / applicants_report_20260802.md
Created August 2, 2026 08:54
DeepSeek Harness 内测申请汇总分析报告 (2026-08-02) — Tianyi Cui X 帖子 conversation 2083519855203078320

DeepSeek Harness 内测申请汇总与分析报告

  • 帖子: https://x.com/tianyi/status/2083519855203078320 (Tianyi Cui, 2026-08-01 19:46 +08)
  • 数据采集时间: 2026-08-02 08:00–08:30 UTC(发帖后约 20 小时)
  • 采集方法: X 搜索 conversation_id:2083519855203078320 全量滚动(最新→最旧),去重后共 425 条回复,时间覆盖 2026-08-01 11:49 UTC(发帖后 3 分钟)至采集时点,完整覆盖整个对话。
  • 口径说明: 帖子页面显示 697 条回复,搜索索引实际返回 425 条(含嵌套回复;部分回复可能未入搜索索引或被删除)。本报告基于可公开检索到的全部内容。

一、总体统计